package com.netease.financial.base.share.action;

import android.content.Context;

import com.netease.financial.R;
import com.netease.financial.base.share.model.ShareHolder;
import com.netease.financial.base.share.helper.EasyChatHelper;

/**
 * Created by wyf on 6/24/15.
 */
public class SendToEasyChatFriendAction extends BaseShareAction {

    @Override
    public int getIconResId() {
        return R.drawable.ic_share_action_easychat_friend;
    }

    @Override
    public int getLabelResId() {
        return R.string.share_action_easychat_friend;
    }

    @Override
    public boolean share(Context context, ShareHolder holder) {
        super.share(context, holder);
        return EasyChatHelper.createHelper(context).sendToEasyChatFriend(holder);
    }
}
